package c.c.a;

import android.content.ContentValues;
import android.database.Cursor;
import android.text.TextUtils;
import org.json.JSONObject;

public class d0 extends s {
    public long i;
    public long j;

    public s a(Cursor cursor) {
        m0.b(null);
        return this;
    }

    public void b(ContentValues contentValues) {
        m0.b(null);
    }

    public void c(JSONObject jSONObject) {
        m0.b(null);
    }

    public String[] d() {
        return null;
    }

    public s f(JSONObject jSONObject) {
        m0.b(null);
        return this;
    }

    public JSONObject g() {
        JSONObject jSONObject = new JSONObject();
        jSONObject.put("local_time_ms", this.a);
        jSONObject.put("tea_event_index", this.b);
        jSONObject.put("session_id", this.c);
        jSONObject.put("stop_timestamp", this.j);
        jSONObject.put("duration", this.i / 1000);
        jSONObject.put("datetime", this.g);
        if (!TextUtils.isEmpty(this.e)) {
            jSONObject.put("ab_version", this.e);
        }
        if (!TextUtils.isEmpty(this.f)) {
            jSONObject.put("ab_sdk_version", this.f);
        }
        return jSONObject;
    }

    public String i() {
        return "terminate";
    }

    public String l() {
        StringBuilder stringBuilder = new StringBuilder();
        stringBuilder.append(super.l());
        stringBuilder.append(" duration:");
        stringBuilder.append(this.i);
        return stringBuilder.toString();
    }
}
